# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-whois
pkgver=0.9.14
pkgrel=0
pkgdesc="Python module/library for retrieving WHOIS information of domains"
url="https://github.com/DannyCork/python-whois"
arch="noarch"
license="WTFPL"
depends="python3 whois"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/DannyCork/python-whois/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/python-whois-$pkgver"

build() {
	python3 setup.py build
}

check() {
	:
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
db80dcc9b989753e58a3dc1771f6921099435f827bebbe086476d5926d35f06e00e0924623cb6971ef8dccc1f9f8718660b62dfe7b6d154a6ef4ba338c090b04  py3-whois-0.9.14.tar.gz
"
